import { createBrowserRouter } from "react-router-dom";

import Home from "../pages/home/Index";
import Index from "../pages/index/Index";
import Detail from "../pages/detail/Index";
import Order from "../pages/order/Index";
import Set from "../pages/set/Index";
import Zhi from "../pages/zhi/Index";

let routes = createBrowserRouter([
  {
    path: "/",
    element: <Home></Home>,
  },
  {
    path: "/home",
    element: <Home></Home>,
  },
  {
    path: "/detail",
    element: <Detail></Detail>,
  },
  {
    path: "/zhi",
    element: <Zhi></Zhi>,
  },
  {
    path: "/set",
    element: <Set></Set>,
  },
]);

export default routes;
